home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1998 January
/
Macworld (1998-01).dmg
/
Games Hall of Fame
/
Duke Nukem 3D
/
Duke Nukem 3D Demo (PPC)
/
Duke Nukem 3D Demo
/
Duke Nukem 3D Demo.rsrc
/
scrp_1001_FireObject
< prev
next >
Wrap
Text File
|
1997-08-04
|
921b
|
67 lines
ifaction 0
ifrnd 16
{
action FIRE_FRAMES
cstator 128
}
sleeptime 300 // Never let it fall to sleep
ifspawnedby FIRE
{
ifgapzl 16
break
}
else
ifspawnedby FIRE2
{
ifgapzl 16
break
}
ifinwater
killit
ifp palive
ifpdistl 844
ifrnd 32
ifcansee
{
soundonce DUKE_LONGTERM_PAIN
addphealth -1
palfrom 32 32
}
ifactor FIRE
{
ifspawnedby FIRE
break
}
else
ifactor FIRE2
ifspawnedby FIRE2
break
iffloordistl 128
{
ifrnd 128
{
ifcount 84
killit
// This line(and the else below)
// is not necessary, since actors
// with zero x-size are automatically
// deleted anyway!
else
ifcount 42
sizeto 0 0
else
sizeto 32 32
}
}
else
killit
ends